const key = 'zhentao-maijing-token'

// 1. 获取token
export const getToken = () => {
  return localStorage.getItem(key)
}

// 2.存储token
export const setToken = (token) => {
  localStorage.setItem(key, token)
}

// 3.删除token
export const removeToken = () => {
  localStorage.removeItem(key)
}
